import ajax from "@/utils/request";

interface Kind{
    count?:number,
    limitNum?:number,
    category?:string,
    brand?:string
}

//获取类型
export function getCategoryList(){
    return ajax({
        url:'/pro/categorylist',
    })
}

//获取品牌
export function getBrandList(data:Kind){
    return ajax({
        url:'/pro/categorybrandlist',
        data,
    })
}

//获取商品
export function getProList(data:Kind){
    return ajax({
        url:'/pro/categorybrandprolist',
        data,
    })
}

